package com.bittech.servlet.smallfileserver.dao;

import com.bittech.servlet.smallfileserver.common.Page;
import com.bittech.servlet.smallfileserver.domain.SmallFile;

import java.util.List;

/**
 * Author: secondriver
 * Created: 2018/8/27
 */
public interface SmallFileDao {
    
    void save(SmallFile smallFile);
    
    void delete(String id);
    
    SmallFile find(String id);
    
    List<SmallFile> query(Page page);
    
}
